﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPFChat.Model
{
    public delegate void MessageReceivedHandler(Message message);

    //public delegate void NewPacketArrivedHandler(object sender, PacketEventArgs e);
    public  interface IClient
    {   
        event MessageReceivedHandler MessageReceivedEvent;
        void Send(Message message);
    }
}
